<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>文件上传</title>
		<link href="<?=base_url()?>stylesheets/boxy.css" type="text/css" rel="stylesheet" />
		<script src="<?=base_url()?>javascripts/inc/jquery.js" type="text/javascript" language="JavaScript"></script>
		<script src="<?=base_url()?>javascripts/inc/ajaxfileupload.js" type="text/javascript" language="JavaScript"></script>
		<script src="<?=base_url()?>javascripts/inc/jquery.boxy.js" type="text/javascript" language="JavaScript"></script>
		<script>
			$(function(){
				$("#sxup").click(function(){
					var posturl = "<?=base_url();?>sx_htmlupload/index/"+$("#sw").val()+"/"+$("#sh").val()+"/ok/";
					$("#qndy").attr("action",posturl).submit();
				});	
			});
		</script>
	</head>
	<body>
		缩略图宽高定义
		width:<input type="text" id="sw" maxlength="10"  style="width: 20px;" value="0"  />height:<input type="text" id="sh" value="0"  maxlength="10"  style="width: 20px;" />
		<form method="post" action="<?=base_url();?>sx_htmlupload/" enctype="multipart/form-data" id="qndy" />
		<input type="file" name="hck_img" id="hck_img" value="" />
		<input type="button" value="上传" id="sxup" /><span id="loading" style="display: none;"><img src="<?=base_url();?>images/loading.gif" /></span>
		</form>
		
	</body>
</html>
